package com.example.demo.phone.service.impl;

import com.ah.ues.sdk.lcs.RpcContext;
import com.ah.ues.sdk.lcs.RpcMethod;
import com.ah.ues.sdk.lcs.spring.annotation.RpcService;
import org.mybatis.logging.Logger;
import org.mybatis.logging.LoggerFactory;

/**
 * @author lkq
 * @date
 * @description:
 **/
@RpcService
public class SendMessageServiceImpl {

   /* private static final Logger log = LoggerFactory.getLogger(RpcMailboxService.class);
    private final MailboxService mailboxService;

    public RpcMailboxService(MailboxService mailboxService) {
        this.mailboxService = mailboxService;
    }

    @RpcMethod(name = "syncMailboxOffset")
    public void syncMailboxOffset(RpcContext context) {
        SyncOffsetReq syncOffsetReq = context.getJsonBeanData(SyncOffsetReq.class);
        mailboxService.setTerminalSynced(context.getGuid(), syncOffsetReq.subject, syncOffsetReq.offsetId);
        log.info("sync offsetId from terminal {}, {}", context.getGuid(), syncOffsetReq);
    }*/
}